{template "header.html"}

<div class="row">

    <div class="col-md-6 col-sm-6">

        <div class="portlet light bordered myportlet ">
            <div class="portlet-title tabbable-line">
                <div class="caption">
                    <i class="fa fa-cog"></i>
                    <span class="caption-subject"> <a href="{dr_url('cloud/index')}">{dr_lang('程序信息')}</a> </span>
                </div>
            </div>
            <div class="portlet-body">

                <ul class="use-info">
                    {if $license.name && $license.url}
                    <li>
                        <span>框架版本</span>
                        <a target="_blank" href="{$license.url}">{$cmf_version}</a>
                        <a id="dr_cmf_update" href="{dr_url('cloud/update')}" style="margin-left: 10px;display: none" class="badge badge-danger badge-roundless">  </a>
                    </li>

                    <li>
                        <span>官方网站</span>
                        <a target="_blank" href="{$license.url}" style="margin-right: 10px;">{$license.name}</a>
                    </li>
                    {else}
                    <li>
                        <span>框架版本</span>
                        <a target="_blank" href="http://www.xunruicms.com/">{$cmf_version}（未授权）</a>
                        <a id="dr_cmf_update" href="{dr_url('cloud/update')}" style="margin-left: 10px;display: none" class="badge badge-danger badge-roundless">  </a>
                    </li>

                    <li>
                        <span>官方网站</span>
                        <a target="_blank" href="http://www.xunruicms.com/" style="margin-right: 10px;">www.xunruicms.com</a>
                    </li>

                    <li>
                        <span>版权修改</span>
                        <a target="_blank" href="https://www.xunruicms.com/news/453.html" style="margin-right: 10px;">了解如何自定义OEM版权信息，改成属于自己的CMS程序</a>
                    </li>

                    <li>
                        <span>技术支持</span>
                        <a target="_blank" href="http://help.xunruicms.com/" style="margin-right: 10px;">使用文档</a>
                        <a target="_blank" href="http://www.xunruicms.com/wenda/" style="margin-right: 10px;">产品论坛</a>
                        <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=f0fbe4240aec09f99a7949701235c8cde6809f96ad9ee44775da41418632a105" style="margin-right: 10px;">用户QQ群</a>
                    </li>
                    {/if}
                </ul>
            </div>
        </div>
        {template "main/couts.html"}
    </div>

    <div class="col-md-6 col-sm-6">
        {template "main/notice.html"}
    </div>

    <script>
        $(function () {
            $.ajax({type: "GET",dataType:"json", url: "{dr_url('api/version_cmf')}",
                success: function(json) {
                    if (json.code) {
                        $('#dr_cmf_update').show();
                        $('#dr_cmf_update').html(json.msg);
                    }
                }
            });
        });
    </script>

    {template "footer.html"}